﻿@{
    Layout = "~/views/Shared/_Layout_None.cshtml";
    
    ViewBag.Title = "Login";
    string returnUrl = ViewBag.ReturnUrl as string;
    if (!string.IsNullOrWhiteSpace(returnUrl))
    {
        returnUrl = "?ReturnUrl=" + returnUrl;
    }
}
@section UsingFile{
    @ViewHelper.Css("/css/login.css")
}
<div>
    <img src="/images/logo.png" alt="yunyou" />
    <form action="/admin/login.html@(returnUrl)" method="post">
        <label>账号</label><br />
        <input name="userid" type="text" value="@(ViewBag.UserID ?? "")" />
        <br />
        <label>密码</label><br />
        <input name="userpwd" type="password" />
        <br />
        <input type="submit" value="登录" />
    </form>
    <div class="error_msg">
        @(ViewBag.Error)
    </div>
</div>
